<?php
namespace Home\Controller;
use Think\Controller;
class FerightSettingController extends Controller {
	
	public function __construct() {
		parent::__construct();
		if(empty($_SESSION['user']['id']))
		{
			$this->redirect('Home/Login/login');
		}
    }
	
	//查询所有快递公司
	public function Express(){
			$Feright = M("Print");
			$res=$Feright->->find();
			$this->assign("Express",$res);
			$this->Express_info();
		}
	
	
	//渲染到Feright.html文件
	public function Express_info(){
		$this->display('feright_setting');
    }
	
	
	
}
















